try {
	Type.registerNamespace('ReturnInVO');
	
	//借出还回---借出单
	ReturnInVO = function() {};
	ReturnInVO.prototype = new NCMMPubUtil.SuperVO();
	ReturnInVO.PK_HEAD = {
		name: "pk_head",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.PK_ORG = {
		name: "pk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//子表
	ReturnInVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.PK_ITEM = {
		name: "pk_item",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.CMATERIALVID = {
		name: "cmaterialvid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.CUNITID_CODE = {
		name: "cunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.CASTUNITID_CODE = {
		name: "castunitid_code",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};	
	
	ReturnInVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	ReturnInVO.NSCANEDNUM = {
		name: "nscanednum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	ReturnInVO.NSCANEDASTNUM = {
		name: "nscanedastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};    
    
	ReturnInVO.prototype.getAllAttrs = function() {
		return [ReturnInVO.PK_HEAD,
			ReturnInVO.PK_ORG,
			ReturnInVO.VBILLCODE,
			ReturnInVO.DBILLDATE,
			ReturnInVO.HTS,
			//表体
			ReturnInVO.PK_ITEM,
			ReturnInVO.CROWNO,
			ReturnInVO.CMATERIALVID,
			ReturnInVO.MATERIALCODE,
			ReturnInVO.MATERIALNAME,
			ReturnInVO.MATERIALSPEC,
			ReturnInVO.MATERIALTYPE,
			ReturnInVO.MATERIALSHORTNAME,
			ReturnInVO.CUNITID,
			ReturnInVO.CUNITID_CODE,
			ReturnInVO.CUNITID_NAME,
			ReturnInVO.CASTUNITID,
			ReturnInVO.CASTUNITID_CODE,
			ReturnInVO.CASTUNITID_NAME,
			ReturnInVO.VCHANGERATE,
			ReturnInVO.NNUM,
			ReturnInVO.NASTNUM,
			ReturnInVO.VBATCHCODE,
			ReturnInVO.BTS,
			ReturnInVO.NSCANEDNUM,
			ReturnInVO.NSCANEDASTNUM
			];
	};
	ReturnInVO.prototype.getTableName = function() {
		return "ic_ReturnIn";
	};
	ReturnInVO.prototype.getPrimaryAttr = function() {
		return ReturnInVO.PK_ITEM;
	};
} catch(e) {
	$e(e);
}